// index.vue.hbs
<script setup lang="ts">
import { useRoute } from 'vue-router'

const route = useRoute()
console.log(route.query)

// 本地存储用户信息
localStorage.setItem('wxLogin', JSON.stringify(route.query))
const html: HTMLElement | null = document.querySelector('html')
if (html) {
  html.style.display = 'none'
}
</script>

<template>
  <div class="wxLogin-page">
    <h1>wxLogin</h1>
  </div>
</template>
